package org.jeecg.modules.submissionLibrary.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value = "投稿库返回数据类", description = "投稿库返回数据类")
public class SubmissionLibraryResult {
    /**投稿社团ID**/
    @ApiModelProperty(value = "投稿社团ID")
    private String clubId;
    /**投稿社团名称**/
    @ApiModelProperty(value = "投稿社团名称")
    private String clubName;
    /**报名人ID**/
    @ApiModelProperty(value = "报名人ID")
    private String userId;
    /**报名人姓名**/
    @ApiModelProperty(value = "报名人姓名")
    private String userName;
    /**手机号**/
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**作品名称**/
    @ApiModelProperty(value = "作品名称")
    private String worksName;
    /**作品说明**/
    @ApiModelProperty(value = "作品说明")
    private String worksExplanation;
    /**附件**/
    @ApiModelProperty(value = "附件")
    private String annex;
    /**投稿时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "投稿时间")
    private Date createTime;
    /**删除：1正常，2已删除**/
    @ApiModelProperty(value = "删除：1正常，2已删除")
    @Dict(dicCode = "contribution_librarys_del")
    private String delFlag;
}
